package com.peace.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.peace.hospital.entity.hospitalization.entity.Department;
import com.peace.hospital.entity.hospitalization.entity.Inpatientmessage;
import com.peace.hospital.entity.hospitalization.entity.dto.AllchargeDto;
import com.peace.hospital.entity.hospitalization.entity.dto.InpatientmessageDto;

import java.util.List;


/**
 * <p>
 * 入库单表和药房表（多对多） 服务类
 * </p>
 *
 * @author xie
 * @since 2019-11-06
 */
public interface IInpatientmessageService extends IService<Inpatientmessage> {

    Inpatientmessage selectInpatientMessage(InpatientmessageDto dto);

    boolean insertInner(Inpatientmessage dto);

    List<Inpatientmessage> getAll(Department department);

    boolean updateOut(Inpatientmessage dto);

    Integer updateNewMessage(Inpatientmessage dto);

    List<AllchargeDto> selectDebts();
}
